#CFB454#CFB454

#CFB454 is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.120 H 93.7°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CFB454
RGBrgb(207, 180, 84)
HSLhsl(47, 56%, 57%)
HSVhsv(47, 59%, 81%)
CMYKcmyk(0%, 13%, 59.4%, 18.8%)
CIE-LABlab(73.90, -1.73, 51.54)
CIE-LCHlch(73.90, 51.57, 91.92°)
OKLaboklab(77.45% -0.0078 0.1194)
OKLCHoklch(77.45% 0.12 93.7)
XYZxyz(43.6555, 46.5502, 15.0714)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB454 #546FCF
analogous
#CF7754 #CFB454 #ADCF54
triadic
#CFB454 #54CFB4 #B454CF
tetradic
#CFB454 #54CF77 #546FCF #CF54AD
square
#CFB454 #54CF77 #546FCF #CF54AD
split-complementary
#CFB454 #54ADCF #7754CF
monochromatic
#846F25 #B39732 #CFB454 #DCC984 #EADEB4

Accessibility & contrast

On white

2.04
#CFB454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#CFB454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB454
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB454#FFFFFF#000000##000000
##CFB4541.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14A
Deuteranopia (green-blind)
#CCB958
Tritanopia (blue-blind)
#DEA79F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb454;
/* rgb */ color: rgb(207, 180, 84);
/* oklch */ color: oklch(77.4% 0.120 93.7);
Tailwind
colors: {
  custom: {
    50: '#e1ca87',
    500: '#cfb454',
    950: '#000000',
  },
}
SCSS
$custom: #cfb454;
$custom-light: #e1ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb454",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 46.829,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77448,
    "c": 0.1196,
    "h": 93.7
  },
  "luminance": 0.46548
}

Semantic roles & 50–950 ramp

primary
#CFB454
secondary
#A6B1D8
accent
#6ADF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB454

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

Preview Lab → · Contrast checker → · Palette generator →

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