#CFB558#CFB558

#CFB558 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.117 H 93.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CFB558
RGBrgb(207, 181, 88)
HSLhsl(47, 55%, 58%)
HSVhsv(47, 57%, 81%)
CMYKcmyk(0%, 12.6%, 57.5%, 18.8%)
CIE-LABlab(74.20, -1.96, 50.01)
CIE-LCHlch(74.20, 50.05, 92.24°)
OKLaboklab(77.7% -0.008 0.1165)
OKLCHoklch(77.7% 0.117 93.9)
XYZxyz(44.0193, 47.0198, 15.9877)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB558 #5872CF
analogous
#CF7958 #CFB558 #ADCF58
triadic
#CFB558 #58CFB5 #B558CF
tetradic
#CFB558 #58CF79 #5872CF #CF58AD
square
#CFB558 #58CF79 #5872CF #CF58AD
split-complementary
#CFB558 #58ADCF #7958CF
monochromatic
#867127 #B69934 #CFB558 #DDCA88 #EADFB7

Accessibility & contrast

On white

2.02
#CFB558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CFB558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB558
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB558#FFFFFF#000000##000000
##CFB5581.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B24F
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#DEA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb558;
/* rgb */ color: rgb(207, 181, 88);
/* oklch */ color: oklch(77.7% 0.117 93.9);
Tailwind
colors: {
  custom: {
    50: '#e0ca8a',
    500: '#cfb558',
    950: '#000000',
  },
}
SCSS
$custom: #cfb558;
$custom-light: #e0ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb558",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 46.891,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.777,
    "c": 0.11679,
    "h": 93.9
  },
  "luminance": 0.47018
}

Semantic roles & 50–950 ramp

primary
#CFB558
secondary
#AAB4D9
accent
#6ADF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB558

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

Preview Lab → · Contrast checker → · Palette generator →

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