#CFB74D#CFB74D

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

Color values

HEX#CFB74D
RGBrgb(207, 183, 77)
HSLhsl(49, 58%, 56%)
HSVhsv(49, 63%, 81%)
CMYKcmyk(0%, 11.6%, 62.8%, 18.8%)
CIE-LABlab(74.62, -3.78, 55.52)
CIE-LCHlch(74.62, 55.65, 93.89°)
OKLaboklab(77.99% -0.0145 0.1269)
OKLCHoklch(77.99% 0.128 96.5)
XYZxyz(44.0071, 47.6703, 13.9030)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB74D #4D65CF
analogous
#CF764D #CFB74D #A6CF4D
triadic
#CFB74D #4DCFB7 #B74DCF
tetradic
#CFB74D #4DCF76 #4D65CF #CF4DA6
square
#CFB74D #4DCF76 #4D65CF #CF4DA6
split-complementary
#CFB74D #4DA6CF #764DCF
monochromatic
#7F6E22 #AF982F #CFB74D #DCCA7D #E9DEAD

Accessibility & contrast

On white

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

On black

10.53
#CFB74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB74D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB74D#FFFFFF#000000##000000
##CFB74D1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb74d;
/* rgb */ color: rgb(207, 183, 77);
/* oklch */ color: oklch(78.0% 0.128 96.5);
Tailwind
colors: {
  custom: {
    50: '#e1cc83',
    500: '#cfb74d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb74d;
$custom-light: #e1cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb74d",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 77
  },
  "hsl": {
    "h": 48.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77992,
    "c": 0.12774,
    "h": 96.5
  },
  "luminance": 0.47668
}

Semantic roles & 50–950 ramp

primary
#CFB74D
secondary
#A1ABD7
accent
#63E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB74D

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

Preview Lab → · Contrast checker → · Palette generator →

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