#CFB03A#CFB03A

#CFB03A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.137 H 93.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CFB03A
RGBrgb(207, 176, 58)
HSLhsl(48, 61%, 52%)
HSVhsv(48, 72%, 81%)
CMYKcmyk(0%, 15%, 72%, 18.8%)
CIE-LABlab(72.64, -1.18, 61.41)
CIE-LCHlch(72.64, 61.42, 91.10°)
OKLaboklab(76.38% -0.0093 0.1362)
OKLCHoklch(76.38% 0.137 93.9)
XYZxyz(42.0234, 44.6239, 10.4020)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB03A #3A59CF
analogous
#CF663A #CFB03A #A3CF3A
triadic
#CFB03A #3ACFB0 #B03ACF
tetradic
#CFB03A #3ACF66 #3A59CF #CF3AA3
square
#CFB03A #3ACF66 #3A59CF #CF3AA3
split-complementary
#CFB03A #3AA3CF #663ACF
monochromatic
#73611C #A48A28 #CFB03A #DBC46B #E7D79C

Accessibility & contrast

On white

2.12
#CFB03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CFB03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB03A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB03A#FFFFFF#000000##000000
##CFB03A1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD28
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E0A298
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfb03a;
/* rgb */ color: rgb(207, 176, 58);
/* oklch */ color: oklch(76.4% 0.137 93.9);
Tailwind
colors: {
  custom: {
    50: '#e2c778',
    500: '#cfb03a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb03a;
$custom-light: #e2c778;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb03a",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 47.517,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76384,
    "c": 0.13654,
    "h": 93.9
  },
  "luminance": 0.44622
}

Semantic roles & 50–950 ramp

primary
#CFB03A
secondary
#929FD3
accent
#65E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB03A

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

Preview Lab → · Contrast checker → · Palette generator →

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