#CFB03C#CFB03C

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

Color values

HEX#CFB03C
RGBrgb(207, 176, 60)
HSLhsl(47, 60%, 52%)
HSVhsv(47, 71%, 81%)
CMYKcmyk(0%, 15%, 71%, 18.8%)
CIE-LABlab(72.66, -1.08, 60.64)
CIE-LCHlch(72.66, 60.64, 91.02°)
OKLaboklab(76.4% -0.0088 0.135)
OKLCHoklch(76.4% 0.135 93.7)
XYZxyz(42.0753, 44.6447, 10.6752)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB03C #3C5BCF
analogous
#CF673C #CFB03C #A5CF3C
triadic
#CFB03C #3CCFB0 #B03CCF
tetradic
#CFB03C #3CCF67 #3C5BCF #CF3CA5
square
#CFB03C #3CCF67 #3C5BCF #CF3CA5
split-complementary
#CFB03C #3CA5CF #673CCF
monochromatic
#74621D #A58B29 #CFB03C #DBC46D #E7D89E

Accessibility & contrast

On white

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

On black

9.93
#CFB03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB03C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB03C#FFFFFF#000000##000000
##CFB03C1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2B
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#E0A299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfb03c;
/* rgb */ color: rgb(207, 176, 60);
/* oklch */ color: oklch(76.4% 0.135 93.7);
Tailwind
colors: {
  custom: {
    50: '#e2c779',
    500: '#cfb03c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb03c;
$custom-light: #e2c779;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb03c",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 47.347,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.764,
    "c": 0.13525,
    "h": 93.7
  },
  "luminance": 0.44642
}

Semantic roles & 50–950 ramp

primary
#CFB03C
secondary
#93A1D3
accent
#66E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB03C

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

Preview Lab → · Contrast checker → · Palette generator →

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