#CFB459#CFB459

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

Color values

HEX#CFB459
RGBrgb(207, 180, 89)
HSLhsl(46, 55%, 58%)
HSVhsv(46, 57%, 81%)
CMYKcmyk(0%, 13%, 57%, 18.8%)
CIE-LABlab(73.95, -1.36, 49.25)
CIE-LCHlch(73.95, 49.26, 91.58°)
OKLaboklab(77.51% -0.0061 0.115)
OKLCHoklch(77.51% 0.115 93)
XYZxyz(43.8584, 46.6313, 16.1398)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB459 #5974CF
analogous
#CF7959 #CFB459 #AFCF59
triadic
#CFB459 #59CFB4 #B459CF
tetradic
#CFB459 #59CF79 #5974CF #CF59AF
square
#CFB459 #59CF79 #5974CF #CF59AF
split-complementary
#CFB459 #59AFCF #7959CF
monochromatic
#877127 #B69935 #CFB459 #DDC988 #EADFB8

Accessibility & contrast

On white

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

On black

10.33
#CFB459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB459
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB459#FFFFFF#000000##000000
##CFB4591.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb459;
/* rgb */ color: rgb(207, 180, 89);
/* oklch */ color: oklch(77.5% 0.115 93.0);
Tailwind
colors: {
  custom: {
    50: '#e0ca8b',
    500: '#cfb459',
    950: '#000000',
  },
}
SCSS
$custom: #cfb459;
$custom-light: #e0ca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb459",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 89
  },
  "hsl": {
    "h": 46.271,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77506,
    "c": 0.11515,
    "h": 93
  },
  "luminance": 0.46629
}

Semantic roles & 50–950 ramp

primary
#CFB459
secondary
#AAB5D9
accent
#6BDE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB459

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

Preview Lab → · Contrast checker → · Palette generator →

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