#CFB154#CFB154

#CFB154 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.117 H 91.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CFB154
RGBrgb(207, 177, 84)
HSLhsl(45, 56%, 57%)
HSVhsv(45, 59%, 81%)
CMYKcmyk(0%, 14.5%, 59.4%, 18.8%)
CIE-LABlab(73.12, -0.15, 50.66)
CIE-LCHlch(73.12, 50.66, 90.17°)
OKLaboklab(76.83% -0.0032 0.1175)
OKLCHoklch(76.83% 0.117 91.6)
XYZxyz(43.0564, 45.3520, 14.8717)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB154 #5472CF
analogous
#CF7454 #CFB154 #AFCF54
triadic
#CFB154 #54CFB1 #B154CF
tetradic
#CFB154 #54CF74 #5472CF #CF54AF
square
#CFB154 #54CF74 #5472CF #CF54AF
split-complementary
#CFB154 #54AFCF #7454CF
monochromatic
#846D25 #B39432 #CFB154 #DCC784 #EADDB4

Accessibility & contrast

On white

2.09
#CFB154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CFB154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB154
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB154#FFFFFF#000000##000000
##CFB1541.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4B
Deuteranopia (green-blind)
#CAB758
Tritanopia (blue-blind)
#DEA49C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb154;
/* rgb */ color: rgb(207, 177, 84);
/* oklch */ color: oklch(76.8% 0.117 91.6);
Tailwind
colors: {
  custom: {
    50: '#e1c887',
    500: '#cfb154',
    950: '#000000',
  },
}
SCSS
$custom: #cfb154;
$custom-light: #e1c887;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb154",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 45.366,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76834,
    "c": 0.11749,
    "h": 91.6
  },
  "luminance": 0.4535
}

Semantic roles & 50–950 ramp

primary
#CFB154
secondary
#A6B3D8
accent
#6DDF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB154

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

Preview Lab → · Contrast checker → · Palette generator →

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