#CFB82C#CFB82C

#CFB82C is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.150 H 99.3°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CFB82C
RGBrgb(207, 184, 44)
HSLhsl(52, 65%, 49%)
HSVhsv(52, 79%, 81%)
CMYKcmyk(0%, 11.1%, 78.7%, 18.8%)
CIE-LABlab(74.65, -5.94, 68.18)
CIE-LCHlch(74.65, 68.44, 94.98°)
OKLaboklab(77.95% -0.0242 0.148)
OKLCHoklch(77.95% 0.15 99.3)
XYZxyz(43.3295, 47.7304, 9.3130)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB82C #2C43CF
analogous
#CF672C #CFB82C #95CF2C
triadic
#CFB82C #2CCFB8 #B82CCF
tetradic
#CFB82C #2CCF67 #2C43CF #CF2C95
square
#CFB82C #2CCF67 #2C43CF #CF2C95
split-complementary
#CFB82C #2C95CF #672CCF
monochromatic
#6A5E17 #9D8B21 #CFB82C #DCCA5C #E7DB8E

Accessibility & contrast

On white

1.99
#CFB82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#CFB82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB82C
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB82C#FFFFFF#000000##000000
##CFB82C1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB303
Deuteranopia (green-blind)
#D1BB37
Tritanopia (blue-blind)
#E0AA9E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb82c;
/* rgb */ color: rgb(207, 184, 44);
/* oklch */ color: oklch(78.0% 0.150 99.3);
Tailwind
colors: {
  custom: {
    50: '#e2cc71',
    500: '#cfb82c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb82c;
$custom-light: #e2cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb82c",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 51.534,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77951,
    "c": 0.14991,
    "h": 99.3
  },
  "luminance": 0.47728
}

Semantic roles & 50–950 ramp

primary
#CFB82C
secondary
#8590D1
accent
#58E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #CFB82C

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

Preview Lab → · Contrast checker → · Palette generator →

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