#CFBD5F#CFBD5F

#CFBD5F is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.117 H 98.7°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CFBD5F
RGBrgb(207, 189, 95)
HSLhsl(50, 54%, 59%)
HSVhsv(50, 54%, 81%)
CMYKcmyk(0%, 8.7%, 54.1%, 18.8%)
CIE-LABlab(76.37, -5.58, 49.19)
CIE-LCHlch(76.37, 49.51, 96.48°)
OKLaboklab(79.44% -0.0176 0.1155)
OKLCHoklch(79.44% 0.117 98.7)
XYZxyz(45.9969, 50.4886, 18.1467)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD5F #5F71CF
analogous
#CF855F #CFBD5F #A9CF5F
triadic
#CFBD5F #5FCFBD #BD5FCF
tetradic
#CFBD5F #5FCF85 #5F71CF #CF5FA9
square
#CFBD5F #5FCF85 #5F71CF #CF5FA9
split-complementary
#CFBD5F #5FA9CF #855FCF
monochromatic
#8A7B29 #B9A438 #CFBD5F #DDD08E #EBE4BD

Accessibility & contrast

On white

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

On black

11.10
#CFBD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD5F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD5F#FFFFFF#000000##000000
##CFBD5F1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#D2BF63
Tritanopia (blue-blind)
#DDB1A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd5f;
/* rgb */ color: rgb(207, 189, 95);
/* oklch */ color: oklch(79.4% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#e0d08f',
    500: '#cfbd5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd5f;
$custom-light: #e0d08f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd5f",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 95
  },
  "hsl": {
    "h": 50.357,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79438,
    "c": 0.11684,
    "h": 98.7
  },
  "luminance": 0.50487
}

Semantic roles & 50–950 ramp

primary
#CFBD5F
secondary
#414E91
accent
#62DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFBD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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