#CFB54B#CFB54B

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

Color values

HEX#CFB54B
RGBrgb(207, 181, 75)
HSLhsl(48, 58%, 55%)
HSVhsv(48, 64%, 81%)
CMYKcmyk(0%, 12.6%, 63.8%, 18.8%)
CIE-LABlab(74.08, -2.86, 55.82)
CIE-LCHlch(74.08, 55.89, 92.93°)
OKLaboklab(77.56% -0.0121 0.1273)
OKLCHoklch(77.56% 0.128 95.4)
XYZxyz(43.5280, 46.8233, 13.4003)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB54B #4B65CF
analogous
#CF734B #CFB54B #A7CF4B
triadic
#CFB54B #4BCFB5 #B54BCF
tetradic
#CFB54B #4BCF73 #4B65CF #CF4BA7
square
#CFB54B #4BCF73 #4B65CF #CF4BA7
split-complementary
#CFB54B #4BA7CF #734BCF
monochromatic
#7E6C22 #AE952E #CFB54B #DCC97B #E9DDAC

Accessibility & contrast

On white

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

On black

10.36
#CFB54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB54B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB54B#FFFFFF#000000##000000
##CFB54B1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13F
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#DFA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb54b;
/* rgb */ color: rgb(207, 181, 75);
/* oklch */ color: oklch(77.6% 0.128 95.4);
Tailwind
colors: {
  custom: {
    50: '#e1ca82',
    500: '#cfb54b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb54b;
$custom-light: #e1ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb54b",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 48.182,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7756,
    "c": 0.12783,
    "h": 95.4
  },
  "luminance": 0.46821
}

Semantic roles & 50–950 ramp

primary
#CFB54B
secondary
#9FAAD6
accent
#65E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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