#CFB54A#CFB54A

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

Color values

HEX#CFB54A
RGBrgb(207, 181, 74)
HSLhsl(48, 58%, 55%)
HSVhsv(48, 64%, 81%)
CMYKcmyk(0%, 12.6%, 64.3%, 18.8%)
CIE-LABlab(74.07, -2.92, 56.25)
CIE-LCHlch(74.07, 56.33, 92.97°)
OKLaboklab(77.55% -0.0124 0.128)
OKLCHoklch(77.55% 0.129 95.5)
XYZxyz(43.4940, 46.8097, 13.2215)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB54A #4A64CF
analogous
#CF734A #CFB54A #A6CF4A
triadic
#CFB54A #4ACFB5 #B54ACF
tetradic
#CFB54A #4ACF73 #4A64CF #CF4AA6
square
#CFB54A #4ACF73 #4A64CF #CF4AA6
split-complementary
#CFB54A #4AA6CF #734ACF
monochromatic
#7D6B21 #AE952E #CFB54A #DCC97A #E9DDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB54A#FFFFFF#000000##000000
##CFB54A1.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)
#C6B13D
Deuteranopia (green-blind)
#CDBA4F
Tritanopia (blue-blind)
#DFA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb54a;
/* rgb */ color: rgb(207, 181, 74);
/* oklch */ color: oklch(77.5% 0.129 95.5);
Tailwind
colors: {
  custom: {
    50: '#e1ca81',
    500: '#cfb54a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb54a;
$custom-light: #e1ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb54a",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 74
  },
  "hsl": {
    "h": 48.271,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7755,
    "c": 0.12862,
    "h": 95.5
  },
  "luminance": 0.46808
}

Semantic roles & 50–950 ramp

primary
#CFB54A
secondary
#9FA9D6
accent
#65E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB54A

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

Preview Lab → · Contrast checker → · Palette generator →

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