#CFB34E#CFB34E

#CFB34E is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.124 H 93.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CFB34E
RGBrgb(207, 179, 78)
HSLhsl(47, 57%, 56%)
HSVhsv(47, 62%, 81%)
CMYKcmyk(0%, 13.5%, 62.3%, 18.8%)
CIE-LABlab(73.58, -1.62, 53.94)
CIE-LCHlch(73.58, 53.97, 91.72°)
OKLaboklab(77.18% -0.0082 0.1237)
OKLCHoklch(77.18% 0.124 93.8)
XYZxyz(43.2293, 46.0579, 13.8193)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB34E #4E6ACF
analogous
#CF724E #CFB34E #AACF4E
triadic
#CFB34E #4ECFB3 #B34ECF
tetradic
#CFB34E #4ECF72 #4E6ACF #CF4EAA
square
#CFB34E #4ECF72 #4E6ACF #CF4EAA
split-complementary
#CFB34E #4EAACF #724ECF
monochromatic
#806C23 #B09430 #CFB34E #DCC87E #E9DCAE

Accessibility & contrast

On white

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

On black

10.21
#CFB34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB34E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB34E#FFFFFF#000000##000000
##CFB34E1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb34e;
/* rgb */ color: rgb(207, 179, 78);
/* oklch */ color: oklch(77.2% 0.124 93.8);
Tailwind
colors: {
  custom: {
    50: '#e1c983',
    500: '#cfb34e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb34e;
$custom-light: #e1c983;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb34e",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 78
  },
  "hsl": {
    "h": 46.977,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77178,
    "c": 0.12396,
    "h": 93.8
  },
  "luminance": 0.46056
}

Semantic roles & 50–950 ramp

primary
#CFB34E
secondary
#A2ADD7
accent
#69E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB34E

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

Preview Lab → · Contrast checker → · Palette generator →

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