#CFB94D#CFB94D

#CFB94D is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.129 H 97.8°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CFB94D
RGBrgb(207, 185, 77)
HSLhsl(50, 58%, 56%)
HSVhsv(50, 63%, 81%)
CMYKcmyk(0%, 10.6%, 62.8%, 18.8%)
CIE-LABlab(75.14, -4.82, 56.09)
CIE-LCHlch(75.14, 56.30, 94.91°)
OKLaboklab(78.41% -0.0175 0.1281)
OKLCHoklch(78.41% 0.129 97.8)
XYZxyz(44.4225, 48.5012, 14.0415)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB94D #4D63CF
analogous
#CF784D #CFB94D #A4CF4D
triadic
#CFB94D #4DCFB9 #B94DCF
tetradic
#CFB94D #4DCF78 #4D63CF #CF4DA4
square
#CFB94D #4DCF78 #4D63CF #CF4DA4
split-complementary
#CFB94D #4DA4CF #784DCF
monochromatic
#7F7022 #AF9A2F #CFB94D #DCCC7D #E9DFAD

Accessibility & contrast

On white

1.96
#CFB94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CFB94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB94D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB94D#FFFFFF#000000##000000
##CFB94D1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB541
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#DEACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb94d;
/* rgb */ color: rgb(207, 185, 77);
/* oklch */ color: oklch(78.4% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#e1cd83',
    500: '#cfb94d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb94d;
$custom-light: #e1cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb94d",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 49.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78407,
    "c": 0.12931,
    "h": 97.8
  },
  "luminance": 0.48499
}

Semantic roles & 50–950 ramp

primary
#CFB94D
secondary
#A1AAD7
accent
#61E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB94D

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

Preview Lab → · Contrast checker → · Palette generator →

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