#CFBB5C#CFBB5C

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

Color values

HEX#CFBB5C
RGBrgb(207, 187, 92)
HSLhsl(50, 55%, 59%)
HSVhsv(50, 56%, 81%)
CMYKcmyk(0%, 9.7%, 55.6%, 18.8%)
CIE-LABlab(75.81, -4.79, 49.97)
CIE-LCHlch(75.81, 50.20, 95.47°)
OKLaboklab(78.99% -0.0156 0.1169)
OKLCHoklch(78.99% 0.118 97.6)
XYZxyz(45.4359, 49.5807, 17.2999)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB5C #5C70CF
analogous
#CF815C #CFBB5C #A9CF5C
triadic
#CFBB5C #5CCFBB #BB5CCF
tetradic
#CFBB5C #5CCF81 #5C70CF #CF5CA9
square
#CFBB5C #5CCF81 #5C70CF #CF5CA9
split-complementary
#CFBB5C #5CA9CF #815CCF
monochromatic
#887828 #B8A136 #CFBB5C #DDCF8B #EBE2BB

Accessibility & contrast

On white

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

On black

10.92
#CFBB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB5C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB5C#FFFFFF#000000##000000
##CFBB5C1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbb5c;
/* rgb */ color: rgb(207, 187, 92);
/* oklch */ color: oklch(79.0% 0.118 97.6);
Tailwind
colors: {
  custom: {
    50: '#e0cf8d',
    500: '#cfbb5c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb5c;
$custom-light: #e0cf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb5c",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 92
  },
  "hsl": {
    "h": 49.565,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78986,
    "c": 0.11793,
    "h": 97.6
  },
  "luminance": 0.49579
}

Semantic roles & 50–950 ramp

primary
#CFBB5C
secondary
#ADB5DA
accent
#64DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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