#CFB54D#CFB54D

#CFB54D is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.126 H 95.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CFB54D
RGBrgb(207, 181, 77)
HSLhsl(48, 58%, 56%)
HSVhsv(48, 63%, 81%)
CMYKcmyk(0%, 12.6%, 62.8%, 18.8%)
CIE-LABlab(74.09, -2.73, 54.95)
CIE-LCHlch(74.09, 55.02, 92.85°)
OKLaboklab(77.58% -0.0115 0.1257)
OKLCHoklch(77.58% 0.126 95.2)
XYZxyz(43.5975, 46.8511, 13.7665)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB54D #4D67CF
analogous
#CF744D #CFB54D #A8CF4D
triadic
#CFB54D #4DCFB5 #B54DCF
tetradic
#CFB54D #4DCF74 #4D67CF #CF4DA8
square
#CFB54D #4DCF74 #4D67CF #CF4DA8
split-complementary
#CFB54D #4DA8CF #744DCF
monochromatic
#7F6D22 #AF962F #CFB54D #DCC97D #E9DDAD

Accessibility & contrast

On white

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

On black

10.37
#CFB54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB54D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB54D#FFFFFF#000000##000000
##CFB54D1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B141
Deuteranopia (green-blind)
#CDBA52
Tritanopia (blue-blind)
#DFA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb54d;
/* rgb */ color: rgb(207, 181, 77);
/* oklch */ color: oklch(77.6% 0.126 95.2);
Tailwind
colors: {
  custom: {
    50: '#e1ca83',
    500: '#cfb54d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb54d;
$custom-light: #e1ca83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb54d",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 48,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77579,
    "c": 0.12623,
    "h": 95.2
  },
  "luminance": 0.46849
}

Semantic roles & 50–950 ramp

primary
#CFB54D
secondary
#A1ACD7
accent
#66E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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