#CFB458#CFB458

#CFB458 is a light, moderate yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.116 H 93.2°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CFB458
RGBrgb(207, 180, 88)
HSLhsl(46, 55%, 58%)
HSVhsv(46, 57%, 81%)
CMYKcmyk(0%, 13%, 57.5%, 18.8%)
CIE-LABlab(73.94, -1.43, 49.71)
CIE-LCHlch(73.94, 49.73, 91.65°)
OKLaboklab(77.49% -0.0064 0.1159)
OKLCHoklch(77.49% 0.116 93.2)
XYZxyz(43.8167, 46.6146, 15.9202)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB458 #5873CF
analogous
#CF7958 #CFB458 #AECF58
triadic
#CFB458 #58CFB4 #B458CF
tetradic
#CFB458 #58CF79 #5873CF #CF58AE
square
#CFB458 #58CF79 #5873CF #CF58AE
split-complementary
#CFB458 #58AECF #7958CF
monochromatic
#867027 #B69834 #CFB458 #DDC988 #EADFB7

Accessibility & contrast

On white

2.03
#CFB458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CFB458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB458
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB458#FFFFFF#000000##000000
##CFB4581.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14F
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb458;
/* rgb */ color: rgb(207, 180, 88);
/* oklch */ color: oklch(77.5% 0.116 93.2);
Tailwind
colors: {
  custom: {
    50: '#e0ca8a',
    500: '#cfb458',
    950: '#000000',
  },
}
SCSS
$custom: #cfb458;
$custom-light: #e0ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb458",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 46.387,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77494,
    "c": 0.11606,
    "h": 93.2
  },
  "luminance": 0.46612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB458

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

Preview Lab → · Contrast checker → · Palette generator →

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