#CFB249#CFB249

#CFB249 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.127 H 93.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CFB249
RGBrgb(207, 178, 73)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 65%, 81%)
CMYKcmyk(0%, 14%, 64.7%, 18.8%)
CIE-LABlab(73.28, -1.41, 55.84)
CIE-LCHlch(73.28, 55.86, 91.45°)
OKLaboklab(76.92% -0.0082 0.127)
OKLCHoklch(76.92% 0.127 93.7)
XYZxyz(42.8572, 45.5895, 12.8443)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB249 #4966CF
analogous
#CF6F49 #CFB249 #A9CF49
triadic
#CFB249 #49CFB2 #B249CF
tetradic
#CFB249 #49CF6F #4966CF #CF49A9
square
#CFB249 #49CF6F #4966CF #CF49A9
split-complementary
#CFB249 #49A9CF #6F49CF
monochromatic
#7D6921 #AD922E #CFB249 #DCC679 #E9DBAA

Accessibility & contrast

On white

2.08
#CFB249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CFB249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB249
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB249#FFFFFF#000000##000000
##CFB2491.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3D
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#DFA59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb249;
/* rgb */ color: rgb(207, 178, 73);
/* oklch */ color: oklch(76.9% 0.127 93.7);
Tailwind
colors: {
  custom: {
    50: '#e1c880',
    500: '#cfb249',
    950: '#000000',
  },
}
SCSS
$custom: #cfb249;
$custom-light: #e1c880;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb249",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 47.015,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.12725,
    "h": 93.7
  },
  "luminance": 0.45587
}

Semantic roles & 50–950 ramp

primary
#CFB249
secondary
#9EAAD6
accent
#68E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB249

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

Preview Lab → · Contrast checker → · Palette generator →

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