#CFBC5F#CFBC5F

#CFBC5F is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.116 H 98.0°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CFBC5F
RGBrgb(207, 188, 95)
HSLhsl(50, 54%, 59%)
HSVhsv(50, 54%, 81%)
CMYKcmyk(0%, 9.2%, 54.1%, 18.8%)
CIE-LABlab(76.11, -5.07, 48.88)
CIE-LCHlch(76.11, 49.15, 95.92°)
OKLaboklab(79.23% -0.0161 0.1148)
OKLCHoklch(79.23% 0.116 98)
XYZxyz(45.7825, 50.0599, 18.0752)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC5F #5F72CF
analogous
#CF845F #CFBC5F #AACF5F
triadic
#CFBC5F #5FCFBC #BC5FCF
tetradic
#CFBC5F #5FCF84 #5F72CF #CF5FAA
square
#CFBC5F #5FCF84 #5F72CF #CF5FAA
split-complementary
#CFBC5F #5FAACF #845FCF
monochromatic
#8A7A29 #B9A338 #CFBC5F #DDD08E #EBE3BD

Accessibility & contrast

On white

1.91
#CFBC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#CFBC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC5F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC5F#FFFFFF#000000##000000
##CFBC5F1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB856
Deuteranopia (green-blind)
#D1BF63
Tritanopia (blue-blind)
#DDB0A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbc5f;
/* rgb */ color: rgb(207, 188, 95);
/* oklch */ color: oklch(79.2% 0.116 98.0);
Tailwind
colors: {
  custom: {
    50: '#e0cf8f',
    500: '#cfbc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc5f;
$custom-light: #e0cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc5f",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 49.821,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.7923,
    "c": 0.11596,
    "h": 98
  },
  "luminance": 0.50058
}

Semantic roles & 50–950 ramp

primary
#CFBC5F
secondary
#414F91
accent
#63DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #CFBC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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