#CFB954#CFB954

#CFB954 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.123 H 97.1°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CFB954
RGBrgb(207, 185, 84)
HSLhsl(49, 56%, 57%)
HSVhsv(49, 59%, 81%)
CMYKcmyk(0%, 10.6%, 59.4%, 18.8%)
CIE-LABlab(75.21, -4.34, 53.02)
CIE-LCHlch(75.21, 53.19, 94.69°)
OKLaboklab(78.48% -0.0153 0.1225)
OKLCHoklch(78.48% 0.123 97.1)
XYZxyz(44.6831, 48.6054, 15.4139)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB954 #546ACF
analogous
#CF7C54 #CFB954 #A8CF54
triadic
#CFB954 #54CFB9 #B954CF
tetradic
#CFB954 #54CF7C #546ACF #CF54A8
square
#CFB954 #54CF7C #546ACF #CF54A8
split-complementary
#CFB954 #54A8CF #7C54CF
monochromatic
#847325 #B39C32 #CFB954 #DCCD84 #EAE0B4

Accessibility & contrast

On white

1.96
#CFB954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CFB954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB954
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB954#FFFFFF#000000##000000
##CFB9541.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB549
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb954;
/* rgb */ color: rgb(207, 185, 84);
/* oklch */ color: oklch(78.5% 0.123 97.1);
Tailwind
colors: {
  custom: {
    50: '#e0cd88',
    500: '#cfb954',
    950: '#000000',
  },
}
SCSS
$custom: #cfb954;
$custom-light: #e0cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb954",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 49.268,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78479,
    "c": 0.12345,
    "h": 97.1
  },
  "luminance": 0.48603
}

Semantic roles & 50–950 ramp

primary
#CFB954
secondary
#A6AFD8
accent
#63DF48
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB954

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

Preview Lab → · Contrast checker → · Palette generator →

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