#CFB54E#CFB54E

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

Color values

HEX#CFB54E
RGBrgb(207, 181, 78)
HSLhsl(48, 57%, 56%)
HSVhsv(48, 62%, 81%)
CMYKcmyk(0%, 12.6%, 62.3%, 18.8%)
CIE-LABlab(74.10, -2.67, 54.52)
CIE-LCHlch(74.10, 54.58, 92.80°)
OKLaboklab(77.59% -0.0112 0.1249)
OKLCHoklch(77.59% 0.125 95.1)
XYZxyz(43.6331, 46.8654, 13.9539)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB54E #4E68CF
analogous
#CF744E #CFB54E #A8CF4E
triadic
#CFB54E #4ECFB5 #B54ECF
tetradic
#CFB54E #4ECF74 #4E68CF #CF4EA8
square
#CFB54E #4ECF74 #4E68CF #CF4EA8
split-complementary
#CFB54E #4EA8CF #744ECF
monochromatic
#806D23 #B09630 #CFB54E #DCC97E #E9DDAE

Accessibility & contrast

On white

2.02
#CFB54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB54E#FFFFFF#000000##000000
##CFB54E1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb54e;
/* rgb */ color: rgb(207, 181, 78);
/* oklch */ color: oklch(77.6% 0.125 95.1);
Tailwind
colors: {
  custom: {
    50: '#e1ca84',
    500: '#cfb54e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb54e;
$custom-light: #e1ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb54e",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 78
  },
  "hsl": {
    "h": 47.907,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7759,
    "c": 0.12541,
    "h": 95.1
  },
  "luminance": 0.46863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB54E

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

Preview Lab → · Contrast checker → · Palette generator →

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