#CFB45D#CFB45D

#CFB45D is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.111 H 92.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CFB45D
RGBrgb(207, 180, 93)
HSLhsl(46, 54%, 59%)
HSVhsv(46, 55%, 81%)
CMYKcmyk(0%, 13%, 55.1%, 18.8%)
CIE-LABlab(74.00, -1.04, 47.37)
CIE-LCHlch(74.00, 47.38, 91.26°)
OKLaboklab(77.55% -0.0047 0.1114)
OKLCHoklch(77.55% 0.111 92.4)
XYZxyz(44.0309, 46.7003, 17.0486)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB45D #5D78CF
analogous
#CF7B5D #CFB45D #B1CF5D
triadic
#CFB45D #5DCFB4 #B45DCF
tetradic
#CFB45D #5DCF7B #5D78CF #CF5DB1
square
#CFB45D #5DCF7B #5D78CF #CF5DB1
split-complementary
#CFB45D #5DB1CF #7B5DCF
monochromatic
#897229 #B89A37 #CFB45D #DDCA8C #EBE0BB

Accessibility & contrast

On white

2.03
#CFB45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CFB45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB45D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB45D#FFFFFF#000000##000000
##CFB45D1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B155
Deuteranopia (green-blind)
#CBB961
Tritanopia (blue-blind)
#DEA8A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb45d;
/* rgb */ color: rgb(207, 180, 93);
/* oklch */ color: oklch(77.6% 0.111 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0ca8d',
    500: '#cfb45d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb45d;
$custom-light: #e0ca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb45d",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 93
  },
  "hsl": {
    "h": 45.789,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77555,
    "c": 0.11145,
    "h": 92.4
  },
  "luminance": 0.46698
}

Semantic roles & 50–950 ramp

primary
#CFB45D
secondary
#ADB8DA
accent
#6DDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB45D

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

Preview Lab → · Contrast checker → · Palette generator →

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