#CFB74E#CFB74E

#CFB74E is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.127 H 96.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CFB74E
RGBrgb(207, 183, 78)
HSLhsl(49, 57%, 56%)
HSVhsv(49, 62%, 81%)
CMYKcmyk(0%, 11.6%, 62.3%, 18.8%)
CIE-LABlab(74.63, -3.71, 55.09)
CIE-LCHlch(74.63, 55.21, 93.86°)
OKLaboklab(78% -0.0142 0.1261)
OKLCHoklch(78% 0.127 96.4)
XYZxyz(44.0427, 47.6845, 14.0904)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB74E #4E66CF
analogous
#CF764E #CFB74E #A6CF4E
triadic
#CFB74E #4ECFB7 #B74ECF
tetradic
#CFB74E #4ECF76 #4E66CF #CF4EA6
square
#CFB74E #4ECF76 #4E66CF #CF4EA6
split-complementary
#CFB74E #4EA6CF #764ECF
monochromatic
#806F23 #B09830 #CFB74E #DCCB7E #E9DEAE

Accessibility & contrast

On white

1.99
#CFB74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CFB74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB74E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB74E#FFFFFF#000000##000000
##CFB74E1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#DEAAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb74e;
/* rgb */ color: rgb(207, 183, 78);
/* oklch */ color: oklch(78.0% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#e1cc84',
    500: '#cfb74e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb74e;
$custom-light: #e1cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb74e",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 48.837,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78002,
    "c": 0.12693,
    "h": 96.4
  },
  "luminance": 0.47682
}

Semantic roles & 50–950 ramp

primary
#CFB74E
secondary
#A2ACD7
accent
#64E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB74E

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

Preview Lab → · Contrast checker → · Palette generator →

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