#CFB74B#CFB74B

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

Color values

HEX#CFB74B
RGBrgb(207, 183, 75)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 64%, 81%)
CMYKcmyk(0%, 11.6%, 63.8%, 18.8%)
CIE-LABlab(74.60, -3.91, 56.39)
CIE-LCHlch(74.60, 56.52, 93.96°)
OKLaboklab(77.97% -0.0151 0.1285)
OKLCHoklch(77.97% 0.129 96.7)
XYZxyz(43.9376, 47.6425, 13.5368)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB74B #4B63CF
analogous
#CF754B #CFB74B #A5CF4B
triadic
#CFB74B #4BCFB7 #B74BCF
tetradic
#CFB74B #4BCF75 #4B63CF #CF4BA5
square
#CFB74B #4BCF75 #4B63CF #CF4BA5
split-complementary
#CFB74B #4BA5CF #754BCF
monochromatic
#7E6D22 #AE972E #CFB74B #DCCA7B #E9DEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB74B#FFFFFF#000000##000000
##CFB74B1.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)
#C8B33E
Deuteranopia (green-blind)
#CFBB50
Tritanopia (blue-blind)
#DFAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb74b;
/* rgb */ color: rgb(207, 183, 75);
/* oklch */ color: oklch(78.0% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#e1cc82',
    500: '#cfb74b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb74b;
$custom-light: #e1cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb74b",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 49.091,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.12934,
    "h": 96.7
  },
  "luminance": 0.4764
}

Semantic roles & 50–950 ramp

primary
#CFB74B
secondary
#9FA9D6
accent
#63E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB74B

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

Preview Lab → · Contrast checker → · Palette generator →

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