#CFB34A#CFB34A

#CFB34A is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.127 H 94.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CFB34A
RGBrgb(207, 179, 74)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 64%, 81%)
CMYKcmyk(0%, 13.5%, 64.3%, 18.8%)
CIE-LABlab(73.55, -1.87, 55.69)
CIE-LCHlch(73.55, 55.72, 91.93°)
OKLaboklab(77.14% -0.0094 0.1268)
OKLCHoklch(77.14% 0.127 94.2)
XYZxyz(43.0903, 46.0022, 13.0869)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB34A #4A66CF
analogous
#CF704A #CFB34A #A9CF4A
triadic
#CFB34A #4ACFB3 #B34ACF
tetradic
#CFB34A #4ACF70 #4A66CF #CF4AA9
square
#CFB34A #4ACF70 #4A66CF #CF4AA9
split-complementary
#CFB34A #4AA9CF #704ACF
monochromatic
#7D6A21 #AE932E #CFB34A #DCC77A #E9DCAB

Accessibility & contrast

On white

2.06
#CFB34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CFB34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB34A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB34A#FFFFFF#000000##000000
##CFB34A1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03E
Deuteranopia (green-blind)
#CCB84F
Tritanopia (blue-blind)
#DFA69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb34a;
/* rgb */ color: rgb(207, 179, 74);
/* oklch */ color: oklch(77.1% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#e1c981',
    500: '#cfb34a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb34a;
$custom-light: #e1c981;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb34a",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 47.368,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77138,
    "c": 0.12717,
    "h": 94.2
  },
  "luminance": 0.46
}

Semantic roles & 50–950 ramp

primary
#CFB34A
secondary
#9FAAD6
accent
#67E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB34A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFB34A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva