#CFBB57#CFBB57

#CFBB57 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.122 H 98.1°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CFBB57
RGBrgb(207, 187, 87)
HSLhsl(50, 56%, 58%)
HSVhsv(50, 58%, 81%)
CMYKcmyk(0%, 9.7%, 58%, 18.8%)
CIE-LABlab(75.76, -5.17, 52.26)
CIE-LCHlch(75.76, 52.51, 95.65°)
OKLaboklab(78.93% -0.0173 0.1212)
OKLCHoklch(78.93% 0.122 98.1)
XYZxyz(45.2245, 49.4961, 16.1865)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB57 #576BCF
analogous
#CF7F57 #CFBB57 #A7CF57
triadic
#CFBB57 #57CFBB #BB57CF
tetradic
#CFBB57 #57CF7F #576BCF #CF57A7
square
#CFBB57 #57CF7F #576BCF #CF57A7
split-complementary
#CFBB57 #57A7CF #7F57CF
monochromatic
#857626 #B5A034 #CFBB57 #DDCE87 #EAE2B6

Accessibility & contrast

On white

1.93
#CFBB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CFBB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB57
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB57#FFFFFF#000000##000000
##CFBB571.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB74D
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#DEAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbb57;
/* rgb */ color: rgb(207, 187, 87);
/* oklch */ color: oklch(78.9% 0.122 98.1);
Tailwind
colors: {
  custom: {
    50: '#e0cf8a',
    500: '#cfbb57',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb57;
$custom-light: #e0cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb57",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 50,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78928,
    "c": 0.12247,
    "h": 98.1
  },
  "luminance": 0.49494
}

Semantic roles & 50–950 ramp

primary
#CFBB57
secondary
#A9B1D9
accent
#62DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBB57

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

Preview Lab → · Contrast checker → · Palette generator →

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