#CFB54C#CFB54C

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

Color values

HEX#CFB54C
RGBrgb(207, 181, 76)
HSLhsl(48, 58%, 55%)
HSVhsv(48, 63%, 81%)
CMYKcmyk(0%, 12.6%, 63.3%, 18.8%)
CIE-LABlab(74.09, -2.80, 55.39)
CIE-LCHlch(74.09, 55.46, 92.89°)
OKLaboklab(77.57% -0.0118 0.1265)
OKLCHoklch(77.57% 0.127 95.3)
XYZxyz(43.5625, 46.8371, 13.5820)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB54C #4C66CF
analogous
#CF744C #CFB54C #A7CF4C
triadic
#CFB54C #4CCFB5 #B54CCF
tetradic
#CFB54C #4CCF74 #4C66CF #CF4CA7
square
#CFB54C #4CCF74 #4C66CF #CF4CA7
split-complementary
#CFB54C #4CA7CF #744CCF
monochromatic
#7F6C22 #AF952F #CFB54C #DCC97C #E9DDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB54C#FFFFFF#000000##000000
##CFB54C1.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)
#C6B140
Deuteranopia (green-blind)
#CDBA51
Tritanopia (blue-blind)
#DFA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb54c;
/* rgb */ color: rgb(207, 181, 76);
/* oklch */ color: oklch(77.6% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#e1ca82',
    500: '#cfb54c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb54c;
$custom-light: #e1ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb54c",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 48.092,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77569,
    "c": 0.12703,
    "h": 95.3
  },
  "luminance": 0.46835
}

Semantic roles & 50–950 ramp

primary
#CFB54C
secondary
#A0ABD7
accent
#65E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB54C

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

Preview Lab → · Contrast checker → · Palette generator →

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