#CFB158#CFB158

#CFB158 is a light, moderate orange. Relative luminance 0.454; OKLCH L 76.9% C 0.114 H 90.9°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CFB158
RGBrgb(207, 177, 88)
HSLhsl(45, 55%, 58%)
HSVhsv(45, 57%, 81%)
CMYKcmyk(0%, 14.5%, 57.5%, 18.8%)
CIE-LABlab(73.17, 0.15, 48.81)
CIE-LCHlch(73.17, 48.81, 89.82°)
OKLaboklab(76.88% -0.0019 0.1139)
OKLCHoklch(76.88% 0.114 90.9)
XYZxyz(43.2176, 45.4165, 15.7205)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB158 #5876CF
analogous
#CF7558 #CFB158 #B1CF58
triadic
#CFB158 #58CFB1 #B158CF
tetradic
#CFB158 #58CF75 #5876CF #CF58B1
square
#CFB158 #58CF75 #5876CF #CF58B1
split-complementary
#CFB158 #58B1CF #7558CF
monochromatic
#866E27 #B69534 #CFB158 #DDC788 #EADDB7

Accessibility & contrast

On white

2.08
#CFB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CFB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB158
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB158#FFFFFF#000000##000000
##CFB1581.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4F
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#DEA59D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb158;
/* rgb */ color: rgb(207, 177, 88);
/* oklch */ color: oklch(76.9% 0.114 90.9);
Tailwind
colors: {
  custom: {
    50: '#e0c88a',
    500: '#cfb158',
    950: '#000000',
  },
}
SCSS
$custom: #cfb158;
$custom-light: #e0c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb158",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 44.874,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76881,
    "c": 0.11396,
    "h": 90.9
  },
  "luminance": 0.45414
}

Semantic roles & 50–950 ramp

primary
#CFB158
secondary
#AAB6D9
accent
#6FDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB158

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

Preview Lab → · Contrast checker → · Palette generator →

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