#CFB33A#CFB33A

#CFB33A is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.139 H 95.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CFB33A
RGBrgb(207, 179, 58)
HSLhsl(49, 61%, 52%)
HSVhsv(49, 72%, 81%)
CMYKcmyk(0%, 13.5%, 72%, 18.8%)
CIE-LABlab(73.42, -2.75, 62.17)
CIE-LCHlch(73.42, 62.23, 92.53°)
OKLaboklab(77% -0.0138 0.1379)
OKLCHoklch(77% 0.139 95.7)
XYZxyz(42.6181, 45.8134, 10.6002)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB33A #3A56CF
analogous
#CF693A #CFB33A #A0CF3A
triadic
#CFB33A #3ACFB3 #B33ACF
tetradic
#CFB33A #3ACF69 #3A56CF #CF3AA0
square
#CFB33A #3ACF69 #3A56CF #CF3AA0
split-complementary
#CFB33A #3AA0CF #693ACF
monochromatic
#73621C #A48D28 #CFB33A #DBC66B #E7D99C

Accessibility & contrast

On white

2.07
#CFB33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CFB33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB33A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB33A#FFFFFF#000000##000000
##CFB33A1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF27
Deuteranopia (green-blind)
#CDB841
Tritanopia (blue-blind)
#DFA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb33a;
/* rgb */ color: rgb(207, 179, 58);
/* oklch */ color: oklch(77.0% 0.139 95.7);
Tailwind
colors: {
  custom: {
    50: '#e2c978',
    500: '#cfb33a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb33a;
$custom-light: #e2c978;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb33a",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 48.725,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.13855,
    "h": 95.7
  },
  "luminance": 0.45811
}

Semantic roles & 50–950 ramp

primary
#CFB33A
secondary
#929ED3
accent
#62E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB33A

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

Preview Lab → · Contrast checker → · Palette generator →

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