#CFB45B#CFB45B

#CFB45B is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.113 H 92.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#CFB45B
RGBrgb(207, 180, 91)
HSLhsl(46, 55%, 58%)
HSVhsv(46, 56%, 81%)
CMYKcmyk(0%, 13%, 56%, 18.8%)
CIE-LABlab(73.98, -1.20, 48.31)
CIE-LCHlch(73.98, 48.33, 91.42°)
OKLaboklab(77.53% -0.0054 0.1132)
OKLCHoklch(77.53% 0.113 92.7)
XYZxyz(43.9435, 46.6654, 16.5882)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB45B #5B76CF
analogous
#CF7A5B #CFB45B #B0CF5B
triadic
#CFB45B #5BCFB4 #B45BCF
tetradic
#CFB45B #5BCF7A #5B76CF #CF5BB0
square
#CFB45B #5BCF7A #5B76CF #CF5BB0
split-complementary
#CFB45B #5BB0CF #7A5BCF
monochromatic
#887128 #B79936 #CFB45B #DDCA8A #EBDFBA

Accessibility & contrast

On white

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

On black

10.33
#CFB45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB45B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB45B#FFFFFF#000000##000000
##CFB45B1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb45b;
/* rgb */ color: rgb(207, 180, 91);
/* oklch */ color: oklch(77.5% 0.113 92.7);
Tailwind
colors: {
  custom: {
    50: '#e0ca8c',
    500: '#cfb45b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb45b;
$custom-light: #e0ca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb45b",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 91
  },
  "hsl": {
    "h": 46.034,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.7753,
    "c": 0.11332,
    "h": 92.7
  },
  "luminance": 0.46663
}

Semantic roles & 50–950 ramp

primary
#CFB45B
secondary
#ACB7DA
accent
#6CDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB45B

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

Preview Lab → · Contrast checker → · Palette generator →

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