#CFB654#CFB654

#CFB654 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.121 H 95.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CFB654
RGBrgb(207, 182, 84)
HSLhsl(48, 56%, 57%)
HSVhsv(48, 59%, 81%)
CMYKcmyk(0%, 12.1%, 59.4%, 18.8%)
CIE-LABlab(74.42, -2.78, 52.13)
CIE-LCHlch(74.42, 52.21, 93.05°)
OKLaboklab(77.86% -0.0108 0.1206)
OKLCHoklch(77.86% 0.121 95.1)
XYZxyz(44.0622, 47.3635, 15.2069)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB654 #546DCF
analogous
#CF7954 #CFB654 #AACF54
triadic
#CFB654 #54CFB6 #B654CF
tetradic
#CFB654 #54CF79 #546DCF #CF54AA
square
#CFB654 #54CF79 #546DCF #CF54AA
split-complementary
#CFB654 #54AACF #7954CF
monochromatic
#847025 #B39932 #CFB654 #DCCA84 #EADFB4

Accessibility & contrast

On white

2.01
#CFB654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CFB654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB654
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB654#FFFFFF#000000##000000
##CFB6541.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34A
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#DEAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb654;
/* rgb */ color: rgb(207, 182, 84);
/* oklch */ color: oklch(77.9% 0.121 95.1);
Tailwind
colors: {
  custom: {
    50: '#e0cb87',
    500: '#cfb654',
    950: '#000000',
  },
}
SCSS
$custom: #cfb654;
$custom-light: #e0cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb654",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 84
  },
  "hsl": {
    "h": 47.805,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7786,
    "c": 0.12109,
    "h": 95.1
  },
  "luminance": 0.47361
}

Semantic roles & 50–950 ramp

primary
#CFB654
secondary
#A6B1D8
accent
#67DF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB654

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

Preview Lab → · Contrast checker → · Palette generator →

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