#CFBB5F#CFBB5F

#CFBB5F is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.115 H 97.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CFBB5F
RGBrgb(207, 187, 95)
HSLhsl(49, 54%, 59%)
HSVhsv(49, 54%, 81%)
CMYKcmyk(0%, 9.7%, 54.1%, 18.8%)
CIE-LABlab(75.84, -4.54, 48.58)
CIE-LCHlch(75.84, 48.79, 95.34°)
OKLaboklab(79.02% -0.0146 0.1142)
OKLCHoklch(79.02% 0.115 97.3)
XYZxyz(45.5696, 49.6342, 18.0042)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB5F #5F73CF
analogous
#CF835F #CFBB5F #ABCF5F
triadic
#CFBB5F #5FCFBB #BB5FCF
tetradic
#CFBB5F #5FCF83 #5F73CF #CF5FAB
square
#CFBB5F #5FCF83 #5F73CF #CF5FAB
split-complementary
#CFBB5F #5FABCF #835FCF
monochromatic
#8A7929 #B9A238 #CFBB5F #DDCF8E #EBE3BD

Accessibility & contrast

On white

1.92
#CFBB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CFBB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB5F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB5F#FFFFFF#000000##000000
##CFBB5F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB756
Deuteranopia (green-blind)
#D0BE63
Tritanopia (blue-blind)
#DDAFA6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbb5f;
/* rgb */ color: rgb(207, 187, 95);
/* oklch */ color: oklch(79.0% 0.115 97.3);
Tailwind
colors: {
  custom: {
    50: '#e0cf8f',
    500: '#cfbb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb5f;
$custom-light: #e0cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb5f",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 49.286,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79023,
    "c": 0.11511,
    "h": 97.3
  },
  "luminance": 0.49632
}

Semantic roles & 50–950 ramp

primary
#CFBB5F
secondary
#AFB7DB
accent
#65DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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