#CFB04D#CFB04D

#CFB04D is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.123 H 91.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CFB04D
RGBrgb(207, 176, 77)
HSLhsl(46, 58%, 56%)
HSVhsv(46, 63%, 81%)
CMYKcmyk(0%, 15%, 62.8%, 18.8%)
CIE-LABlab(72.80, -0.10, 53.53)
CIE-LCHlch(72.80, 53.53, 90.11°)
OKLaboklab(76.55% -0.0039 0.1227)
OKLCHoklch(76.55% 0.123 91.8)
XYZxyz(42.5990, 44.8542, 13.4337)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB04D #4D6CCF
analogous
#CF6F4D #CFB04D #ADCF4D
triadic
#CFB04D #4DCFB0 #B04DCF
tetradic
#CFB04D #4DCF6F #4D6CCF #CF4DAD
square
#CFB04D #4DCF6F #4D6CCF #CF4DAD
split-complementary
#CFB04D #4DADCF #6F4DCF
monochromatic
#7F6922 #AF912F #CFB04D #DCC57D #E9DBAD

Accessibility & contrast

On white

2.11
#CFB04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CFB04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB04D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB04D#FFFFFF#000000##000000
##CFB04D1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD42
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#DFA39B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb04d;
/* rgb */ color: rgb(207, 176, 77);
/* oklch */ color: oklch(76.6% 0.123 91.8);
Tailwind
colors: {
  custom: {
    50: '#e1c783',
    500: '#cfb04d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb04d;
$custom-light: #e1c783;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb04d",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 45.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76553,
    "c": 0.12273,
    "h": 91.8
  },
  "luminance": 0.44852
}

Semantic roles & 50–950 ramp

primary
#CFB04D
secondary
#A1AED7
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB04D

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

Preview Lab → · Contrast checker → · Palette generator →

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