#CFBD5B#CFBD5B

#CFBD5B is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.121 H 99.1°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CFBD5B
RGBrgb(207, 189, 91)
HSLhsl(51, 55%, 58%)
HSVhsv(51, 56%, 81%)
CMYKcmyk(0%, 8.7%, 56%, 18.8%)
CIE-LABlab(76.33, -5.90, 51.04)
CIE-LCHlch(76.33, 51.38, 96.60°)
OKLaboklab(79.39% -0.019 0.1191)
OKLCHoklch(79.39% 0.121 99.1)
XYZxyz(45.8197, 50.4178, 17.2136)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD5B #5B6DCF
analogous
#CF835B #CFBD5B #A7CF5B
triadic
#CFBD5B #5BCFBD #BD5BCF
tetradic
#CFBD5B #5BCF83 #5B6DCF #CF5BA7
square
#CFBD5B #5BCF83 #5B6DCF #CF5BA7
split-complementary
#CFBD5B #5BA7CF #835BCF
monochromatic
#887928 #B7A336 #CFBD5B #DDD08A #EBE3BA

Accessibility & contrast

On white

1.89
#CFBD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#CFBD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD5B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD5B#FFFFFF#000000##000000
##CFBD5B1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB851
Deuteranopia (green-blind)
#D2BF60
Tritanopia (blue-blind)
#DDB1A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd5b;
/* rgb */ color: rgb(207, 189, 91);
/* oklch */ color: oklch(79.4% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#e0d08c',
    500: '#cfbd5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd5b;
$custom-light: #e0d08c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd5b",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 91
  },
  "hsl": {
    "h": 50.69,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79389,
    "c": 0.12058,
    "h": 99.1
  },
  "luminance": 0.50416
}

Semantic roles & 50–950 ramp

primary
#CFBD5B
secondary
#404C8F
accent
#61DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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